<div class="users view">
<h2><?php  echo __('User'); ?></h2>
        <table>
            <tr>
                <th>
                    <?php echo __('User Id'); ?>
                </th>
                <td>
                    <?php echo h($user['User']['user_id']); ?>
                </td>
            </tr>
            <tr>
                <th>
                    <?php echo __('Username'); ?>
                </th>
                <td>
                    <?php echo h($user['User']['username']); ?>
                </td>
            </tr>
            <tr>
                <th>
                    <?php echo __('Password'); ?>
                </th>
                <td>
                    <?php echo h($user['User']['password']); ?>
                </td>
            </tr>
            <tr>
                <th>
                    <?php echo __('Staff Name'); ?>
                </th>
                <td>
                    <?php echo h($user['User']['staff_name']); ?>
                </td>
            </tr>
            <tr>
                <th>
                    <?php echo __('Role'); ?>
                </th>
                <td>
                    <?php echo $this->Html->link($user['Role']['role_desc'], array('controller' => 'roles', 'action' => 'view', $user['Role']['role_id'])); ?>
                </td>
            </tr>
	</table>
</div>
<div class="actions">
	<h3><?php echo __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('Edit User'), array('action' => 'edit', $user['User']['user_id'])); ?> </li>
		<li><?php echo $this->Form->postLink(__('Delete User'), array('action' => 'delete', $user['User']['user_id']), null, __('Are you sure you want to delete # %s?', $user['User']['user_id'])); ?> </li>
		<li><?php echo $this->Html->link(__('List Users'), array('action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New User'), array('action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Roles'), array('controller' => 'roles', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Role'), array('controller' => 'roles', 'action' => 'add')); ?> </li>
	</ul>
</div>
